/*******************************************************************************
 * Copyright (c) Jonathan Buck - jonbuck16@gmail.com
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    jonbuck16@gmail.com - initial API and implementation
 *******************************************************************************/
package net.jonbuck.tassoo.ui.perspective;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

/**
 * 
 * 
 * @since 1.0.0
 */
public class Tasks implements IPerspectiveFactory {

	/**
	 * 
	 */
	public void createInitialLayout(IPageLayout layout) {
		layout.setEditorAreaVisible(false);
		layout.addView("net.jonbuck.tassoo.view.tasks", IPageLayout.TOP, 0.55f, layout.getEditorArea());
		layout.addView("net.jonbuck.tassoo.view.containers", IPageLayout.LEFT, 0.18f, "net.jonbuck.tassoo.view.tasks");
		layout.addView("net.jonbuck.tassoo.view.statistics", IPageLayout.RIGHT, 0.75f, "net.jonbuck.tassoo.view.tasks");
		layout.addStandaloneView("net.jonbuck.tassoo.ui.view.details", false, IPageLayout.BOTTOM, 0.55f, layout.getEditorArea());
	}

}
